package com.atguigu.guliguli.product.service;


import com.atguigu.guliguli.product.entity.BrandEntity;
import com.atguigu.guliguli.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Administrator
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    void updateBrand(Long brandId,String name);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelationEntity);

    List<BrandEntity> getBrandsByCatId(Long catId);

    void updateCategory(Long catId, String name);
}
